home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 95 API Bible
/
Windows 95 API Bible 3 Disc Set.iso
/
Win32 API Bible Book 2 of 3
/
CHAPTER8
/
RTFEDIT.H
< prev
next >
Wrap
Text File
|
1996-02-24
|
2KB
|
56 lines
#define IDM_EXIT 100
#define IDM_NEW 200
#define IDM_OPEN 201
#define IDM_SAVE 202
#define IDM_SAVEAS 203
#define IDM_PRINT 204
#define IDM_CUT 205
#define IDM_COPY 206
#define IDM_PASTE 207
#define IDM_BOLD 208
#define IDM_ITALIC 209
#define IDM_UNDERLINE 210
#define IDM_ALIGNLEFT 211
#define IDM_ALIGNCENTER 212
#define IDM_ALIGNRIGHT 213
#define IDM_FONT 214
#define IDM_UNDO 215
#define IDM_DELETE 216
#define IDM_SELECTALL 217
#define IDM_FIND 218
#define IDM_NEXTWORD 219
#define IDM_ABOUT 300
#define IDC_FILENAME 400
#define DLG_VERFIRST 400
#define DLG_VERLAST 404
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM);
VOID HandleFindMsg( FINDREPLACE* pFR );
VOID HandleSelChange( CHARRANGE* sc );
VOID HandleFileMenu( HMENU hMenu );
VOID HandleEditMenu( HMENU hMenu );
VOID HandleFormatMenu( HMENU hMenu );
VOID Open();
VOID Save();
VOID SaveAs();
VOID Print();
VOID PasteClipboard();
VOID ChangeCharFormat( UINT uCmd );
VOID ChangeAlignment( UINT uCmd );
VOID ChangeFont();
VOID PrintDocument( PRINTDLG* ppd );
HDC GetCurrentPrinterDC();
BOOL CALLBACK AbortProc( HDC hdc, int Code );
LRESULT CALLBACK AbortDlg( HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam );